package dao;

import entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by zjh on 2020/11/17 下午 2:44
 */
public interface UserMapper {
    List<User> getAll();//查询所有
//
    List<User> selectUser(@Param("user_name") String user_name,@Param("password") String password);//登录
    int insertUser(User user);//注册用户
}
